package com.ity.teamanagement.service;

import com.ity.teamanagement.entity.inputParam.BackAddTeaMessageParam;
import com.ity.teamanagement.entity.inputParam.BackSearchTeaParam;
import com.ity.teamanagement.entity.inputParam.BackUpdateTeaMessageParam;
import com.ity.teamanagement.entity.inputParam.ScreenParam;
import com.ity.teamanagement.entity.outputResult.TeaDetailsMessage;
import com.ity.teamanagement.entity.outputResult.TeaRemarksMessageDetails;
import com.ity.teamanagement.utils.PageableDetails;
import org.springframework.data.domain.Pageable;

import java.util.List;

/**
 * @author coderFu
 * @create 2021/5/24
 */
public interface TeaSearchService {

   /**
    * 根据条件查询茶种列表
    * @param screenParam
    * @param pageable
    * @return
    */
   PageableDetails findTeaListByCondition(ScreenParam screenParam, Pageable pageable);

//   /**
//    * 查询所有茶种列表
//    * @param pageable
//    * @return
//    */
//   PageableDetails findTeaList(Pageable pageable);

   /**
    * 根据茶种id查询茶种详细信息
    * @param id
    * @return
    */
   TeaDetailsMessage findTeaDetailsMessageById(Long id);

   /**
    * 后台查询所有茶种信息
    * @param pageable
    * @param backSearchTeaParam
    * @return
    */
   PageableDetails backFindAllTeaListMessageByCondition(Pageable pageable, BackSearchTeaParam backSearchTeaParam);


   /**
    * 根据茶种id查询附加信息
    * @param id
    * @return
    */
   List<TeaRemarksMessageDetails> findRemarksTeaDetailsMessageById(Long id);




}
